Removing physical volumes, logical volumes, and volume groups

Опубликовано: 19 Январь 2025
на канале: lecture snippets
7,301
88

This video is part of a course titled Linux LVM Fundamentals using Ubuntu 18.04. Here is a link to the course: https://dev9.us/course/linux-lvm-fund...

Video objectives:
Remove inactive Physical Volumes (PV) from a Volume Group (VG)
Remove active Physical Volumes from a Volume Group
Remove Logical Volumes (LV) from a Volume Group
Remove the Volume Group from your server
Remove the LVM label from Physical Volumes

Commands used:
vgreduce mydata-vg /dev/sde
pvmove /dev/sdb
vgreduce mydata-vg /dev/sdb
lvremove mydata-vg/volume2-lv
vgremove mydata-vg
lsblk -f
pvremove /dev/sdb
pvremove /dev/sd[c-e]